package com.example.barcodeapp.ui.wode.fragment;

import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import com.example.barcodeapp.R;
import com.example.barcodeapp.base.BaseFragment;
import com.example.barcodeapp.interfaces.IBasePersenter;
import com.example.barcodeapp.ui.wode.adapter.KeChengGongkaiAdapter;
import com.example.barcodeapp.ui.wode.adapter.KeChengQuanAdapter;

import butterknife.BindView;


public class MusicGongKaiFragment extends BaseFragment {

    @BindView(R.id.rv_wodekecheng_gongkaike)
    RecyclerView rvWodekechengGongkaike;

    @Override
    protected int getLayout() {
        return R.layout.fragment_music_gong_kai;
    }

    @Override
    protected void initView() {

        KeChengGongkaiAdapter keChengQuanAdapter = new KeChengGongkaiAdapter(getActivity());
        rvWodekechengGongkaike.setLayoutManager(new LinearLayoutManager(getActivity()));
        rvWodekechengGongkaike.setAdapter(keChengQuanAdapter);
        keChengQuanAdapter.notifyDataSetChanged();
    }

    @Override
    protected IBasePersenter initPersenter() {
        return null;
    }

    @Override
    protected void initData() {

    }
}